﻿using HomeCloudStorageSystem.Models;

namespace HomeCloudStorageSystem.Services
{
    public interface IUserRepository
    {
        IEnumerable<User> GetUsers(string keyword);
        User GetUserById(int id);
        User GetUserByUserName(string userName);
        string AddUser(IFormFile file, string userNmae, string password, string phone,string avatarsUrl);
        bool UserEmpty(int id);
        bool Save();
    }
}
